
package cn.lytcom.architecture.model;

import com.google.gson.annotations.SerializedName;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

@Entity(indexes = {
    @Index(value = "userId", unique = true)
})
public class User {

    @Id
    @SerializedName("")
    private Long id;
    @SerializedName("avatar_url")
    private String avatarUrl;
    @SerializedName("bio")
    private String bio;
    @SerializedName("blog")
    private String blog;
    @SerializedName("company")
    private String company;
    @SerializedName("created_at")
    private String createdAt;
    @SerializedName("email")
    private String email;
    @SerializedName("events_url")
    private String eventsUrl;
    @SerializedName("followers")
    private Long followers;
    @SerializedName("followers_url")
    private String followersUrl;
    @SerializedName("following")
    private Long following;
    @SerializedName("following_url")
    private String followingUrl;
    @SerializedName("gists_url")
    private String gistsUrl;
    @SerializedName("gravatar_id")
    private String gravatarId;
    @SerializedName("hireable")
    private String hireable;
    @SerializedName("html_url")
    private String htmlUrl;
    @SerializedName("id")
    private Long userId;
    @SerializedName("location")
    private String location;
    @SerializedName("login")
    private String login;
    @SerializedName("name")
    private String name;
    @SerializedName("organizations_url")
    private String organizationsUrl;
    @SerializedName("public_gists")
    private Long publicGists;
    @SerializedName("public_repos")
    private Long publicRepos;
    @SerializedName("received_events_url")
    private String receivedEventsUrl;
    @SerializedName("repos_url")
    private String reposUrl;
    @SerializedName("site_admin")
    private Boolean siteAdmin;
    @SerializedName("starred_url")
    private String starredUrl;
    @SerializedName("subscriptions_url")
    private String subscriptionsUrl;
    @SerializedName("type")
    private String type;
    @SerializedName("updated_at")
    private String updatedAt;
    @SerializedName("url")
    private String url;

    @Generated(hash = 1509692050)
    public User(Long id, String avatarUrl, String bio, String blog, String company,
                String createdAt, String email, String eventsUrl, Long followers,
                String followersUrl, Long following, String followingUrl,
                String gistsUrl, String gravatarId, String hireable, String htmlUrl,
                Long userId, String location, String login, String name,
                String organizationsUrl, Long publicGists, Long publicRepos,
                String receivedEventsUrl, String reposUrl, Boolean siteAdmin,
                String starredUrl, String subscriptionsUrl, String type,
                String updatedAt, String url) {
        this.id = id;
        this.avatarUrl = avatarUrl;
        this.bio = bio;
        this.blog = blog;
        this.company = company;
        this.createdAt = createdAt;
        this.email = email;
        this.eventsUrl = eventsUrl;
        this.followers = followers;
        this.followersUrl = followersUrl;
        this.following = following;
        this.followingUrl = followingUrl;
        this.gistsUrl = gistsUrl;
        this.gravatarId = gravatarId;
        this.hireable = hireable;
        this.htmlUrl = htmlUrl;
        this.userId = userId;
        this.location = location;
        this.login = login;
        this.name = name;
        this.organizationsUrl = organizationsUrl;
        this.publicGists = publicGists;
        this.publicRepos = publicRepos;
        this.receivedEventsUrl = receivedEventsUrl;
        this.reposUrl = reposUrl;
        this.siteAdmin = siteAdmin;
        this.starredUrl = starredUrl;
        this.subscriptionsUrl = subscriptionsUrl;
        this.type = type;
        this.updatedAt = updatedAt;
        this.url = url;
    }

    @Generated(hash = 586692638)
    public User() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAvatarUrl() {
        return this.avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getBio() {
        return this.bio;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public String getBlog() {
        return this.blog;
    }

    public void setBlog(String blog) {
        this.blog = blog;
    }

    public String getCompany() {
        return this.company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCreatedAt() {
        return this.createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEventsUrl() {
        return this.eventsUrl;
    }

    public void setEventsUrl(String eventsUrl) {
        this.eventsUrl = eventsUrl;
    }

    public Long getFollowers() {
        return this.followers;
    }

    public void setFollowers(Long followers) {
        this.followers = followers;
    }

    public String getFollowersUrl() {
        return this.followersUrl;
    }

    public void setFollowersUrl(String followersUrl) {
        this.followersUrl = followersUrl;
    }

    public Long getFollowing() {
        return this.following;
    }

    public void setFollowing(Long following) {
        this.following = following;
    }

    public String getFollowingUrl() {
        return this.followingUrl;
    }

    public void setFollowingUrl(String followingUrl) {
        this.followingUrl = followingUrl;
    }

    public String getGistsUrl() {
        return this.gistsUrl;
    }

    public void setGistsUrl(String gistsUrl) {
        this.gistsUrl = gistsUrl;
    }

    public String getGravatarId() {
        return this.gravatarId;
    }

    public void setGravatarId(String gravatarId) {
        this.gravatarId = gravatarId;
    }

    public String getHireable() {
        return this.hireable;
    }

    public void setHireable(String hireable) {
        this.hireable = hireable;
    }

    public String getHtmlUrl() {
        return this.htmlUrl;
    }

    public void setHtmlUrl(String htmlUrl) {
        this.htmlUrl = htmlUrl;
    }

    public Long getUserId() {
        return this.userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLocation() {
        return this.location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLogin() {
        return this.login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrganizationsUrl() {
        return this.organizationsUrl;
    }

    public void setOrganizationsUrl(String organizationsUrl) {
        this.organizationsUrl = organizationsUrl;
    }

    public Long getPublicGists() {
        return this.publicGists;
    }

    public void setPublicGists(Long publicGists) {
        this.publicGists = publicGists;
    }

    public Long getPublicRepos() {
        return this.publicRepos;
    }

    public void setPublicRepos(Long publicRepos) {
        this.publicRepos = publicRepos;
    }

    public String getReceivedEventsUrl() {
        return this.receivedEventsUrl;
    }

    public void setReceivedEventsUrl(String receivedEventsUrl) {
        this.receivedEventsUrl = receivedEventsUrl;
    }

    public String getReposUrl() {
        return this.reposUrl;
    }

    public void setReposUrl(String reposUrl) {
        this.reposUrl = reposUrl;
    }

    public Boolean getSiteAdmin() {
        return this.siteAdmin;
    }

    public void setSiteAdmin(Boolean siteAdmin) {
        this.siteAdmin = siteAdmin;
    }

    public String getStarredUrl() {
        return this.starredUrl;
    }

    public void setStarredUrl(String starredUrl) {
        this.starredUrl = starredUrl;
    }

    public String getSubscriptionsUrl() {
        return this.subscriptionsUrl;
    }

    public void setSubscriptionsUrl(String subscriptionsUrl) {
        this.subscriptionsUrl = subscriptionsUrl;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUpdatedAt() {
        return this.updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}
